package org.hyl.javabase;

public class cextend {

	
	public class aobj{
		  public int height=9;  
		  public int height2=9;
		  public int height1=9;
		  public int height3=9;
		  public int height4=9;
		  public int height5=9;
	//	  public static int height6=9; �ڲ����ǲ��ܶ��徲̬���Ժͷ�����
		  @SuppressWarnings("unused")
		  private int aa=9;
		  protected int bb=10;
		}
	
	public class bobj extends aobj {//
		   public int height=11;
		   public int width=10;
		}
	 
	public static void main(String [] arg){
		cextend ce=new cextend();
		ce.fun1();
	}
	
	public void fun1(){
		bobj b=new bobj();
		//b.height3=10;
		
		aobj a=new aobj();
		//a.height3=11;
		
		System.out.println(a.height);
		System.out.println(b.height);
		
		
		
	}
	
	public void fun2(){
		 @SuppressWarnings("unused")
		aobj a=new bobj();
		
	}
	 
	
}

